﻿using AiXiu.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AiXiu.IBLL
{
    public interface IVideoManager
    {
        OperResult<CreateUploadVideoResult> ToBeUpload(int userId, string fileName, string heading, string location = null);
        int UpdateVideos();
        List<TBvideos> GetVideosByUserId(int userId);
        void DeleteVideo(string videoId);
        List<TBvideos> GetVidos();
        OperResult<TBvideos> GetVideoByVideoId(string VideoId);
        OperResult<GetPlayInfoResult> InitPlay(string Video);
    }
}